<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入 Bootstrap -->
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</head>

<body>

    <div class="container">
        <div class="media">
            <div class="media-left">
                <img src="http://infinistudio.cn/Public//Upload/2017-03-08/58bfbd40b1d73.jpg" class="media-object"
                    style="width:60px">
            </div>
            <div class="media-body">
                <h4 class="media-heading">左对齐</h4>
                <p>这是一些示例文本...</p>
            </div>
        </div>

        <!-- 右对齐 -->
        <div class="media">
            <div class="media-body">
                <h4 class="media-heading">左对齐</h4>
                <p>这是一些示例文本...</p>
            </div>
            <div class="media-right">
                <img src="http://infinistudio.cn/Public//Upload/2017-03-08/58bfbd40b1d73.jpg" class="media-object"
                    style="width:60px">
            </div>
        </div>
    </div>

</body>

</html>